package com.demo.util;

import java.util.concurrent.Executor;

public class Demo2 {


    public static void main(String[] args) {
        Executor executor = new ThreadPoolConfig().threadPoolConfigvv();
        for (int i = 0; i < 10; i++) {
            int num = i;
            executor.execute(new Runnable() {
                public void run() {
                    System.err.println(num);
                }
            });
        }




    }
}
